package cn.yunhe.hui.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;


@Getter
@Setter
@TableName(value = "t_user")
public class User implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 状态
     */
    private Integer state;

    /**
     * 创建时间
     */
    private String createtime;

    /**
     * 手机
     */
    private String phone;
    /**
     * 邮箱
     */
    private String email;


}
